<html>
<head><meta charset="utf-8"><title>Error during building stage2  tool miri · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Error.20during.20building.20stage2.20.20tool.20miri.html">Error during building stage2  tool miri</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="202664102"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Error%20during%20building%20stage2%20%20tool%20miri/near/202664102" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzx <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Error.20during.20building.20stage2.20.20tool.20miri.html#202664102">(Jul 02 2020 at 08:55)</a>:</h4>
<p>When building rust from source and in building stage2 tool miri: it has error: lifetime bound not satisfied?</p>
<div class="codehilite"><pre><span></span><code>error[E0478]: lifetime bound not satisfied
   --&gt; src/tools/miri/src/diagnostics.rs:182:18
    |
182 | impl&lt;&#39;mir, &#39;tcx&gt; EvalContextExt&lt;&#39;mir, &#39;tcx&gt; for crate::MiriEvalContext&lt;&#39;mir, &#39;tcx&gt; {}
    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
</code></pre></div>



<a name="202683364"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Error%20during%20building%20stage2%20%20tool%20miri/near/202683364" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Error.20during.20building.20stage2.20.20tool.20miri.html#202683364">(Jul 02 2020 at 12:54)</a>:</h4>
<p>the miri submodule is currently broken and needs to be updated</p>



<a name="202791871"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Error%20during%20building%20stage2%20%20tool%20miri/near/202791871" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzx <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Error.20during.20building.20stage2.20.20tool.20miri.html#202791871">(Jul 03 2020 at 11:05)</a>:</h4>
<p>SO is there  some way that build rustc without miri</p>



<a name="202795051"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Error%20during%20building%20stage2%20%20tool%20miri/near/202795051" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Error.20during.20building.20stage2.20.20tool.20miri.html#202795051">(Jul 03 2020 at 11:47)</a>:</h4>
<p>One way is --exclude src/tools/miri</p>



<a name="202795119"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Error%20during%20building%20stage2%20%20tool%20miri/near/202795119" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Error.20during.20building.20stage2.20.20tool.20miri.html#202795119">(Jul 03 2020 at 11:48)</a>:</h4>
<p>or you can disable tool building in config.toml by specifying a sub-list in tools = [] IIRC</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>